{% for j in data %}
    <div class="button1">
{#        <button class="bt1" id="{{ j }}">{{ j }}</button>#}
        <button type="button" id="{{ j }}" class="bt1 btn btn-outline-dark">{{ j }}</button>
    </div>
{% endfor %}
<div style="clear: both;"></div>